package com.qjz.diancan.service;

import com.github.pagehelper.PageInfo;
import com.qjz.diancan.model.entity.Dish;

public interface DishService {

    Dish getDishData(Integer id);

    void addDishData(Dish dish);

    void updateDishDataState(Integer id, Integer state);

    void updateDishData(Dish dish);

    PageInfo<Dish> findByPage(Integer pageNum, Integer pageSize, String name, Integer categoryId, Integer status);
}
